export default {
  common: {
    success: 'Operation successful',
    error: 'Operation failed',
    confirm: 'Confirm',
    cancel: 'Cancel',
    search: 'Search',
    add: 'Add',
    edit: 'Edit',
    delete: 'Delete',
    detail: 'Detail',
    save: 'Save',
    back: 'Back'
  },
  login: {
    title: 'Shipment Monitor System',
    username: 'Username',
    password: 'Password',
    login: 'Login',
    rememberMe: 'Remember me',
    usernameRequired: 'Please enter username',
    passwordRequired: 'Please enter password',
    loginSuccess: 'Login successful'
  },
  menu: {
    dashboard: 'Dashboard',
    shipment: 'Shipment Monitor',
    shipmentManagement: 'Cargo Management',
    shipmentList: 'Shipment List',
    shipmentDetail: 'Shipment Detail',
    shipmentRoute: 'View Route',
    system: 'System Management',
    user: 'User Management',
    apiConfig: 'API Configuration',
    sysConfig: 'System Configuration'
  },
  dashboard: {
    overview: 'System Overview',
    refresh: 'Refresh Data',
    totalShipments: 'Total Shipments',
    activeShipments: 'Active Tracking',
    totalUsers: 'Total Users',
    recentShipments: 'Recent Shipments',
    viewAll: 'View All'
  },
  shipment: {
    number: 'Shipment No.',
    pickupWarehouse: 'Pickup Warehouse',
    deliveryWarehouse: 'Delivery Warehouse',
    macId: 'Device ID',
    routeData: 'Route Data',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    version: 'Version',
    createBy: 'Created By',
    updateBy: 'Updated By',
    actions: 'Actions',
    viewRoute: 'View Route',
    newShipment: 'New Shipment',
    editShipment: 'Edit Shipment',
    deleteConfirm: 'Are you sure you want to delete this shipment?',
    deleteSuccess: 'Delete successful',
    saveSuccess: 'Save successful',
    formRules: {
      numberRequired: 'Please enter shipment number',
      pickupWarehouseRequired: 'Please enter pickup warehouse',
      deliveryWarehouseRequired: 'Please enter delivery warehouse',
      macIdRequired: 'Please enter device ID'
    },
    route: {
      title: 'Shipment Tracking Route',
      querySection: 'Query Conditions',
      startTime: 'Start Time',
      endTime: 'End Time',
      queryTrack: 'Query Track',
      getCurrentLocation: 'Get Current Location',
      testDevice: 'Test Device',
      refresh: 'Refresh Data',
      currentLocationInfo: 'Current Location Information',
      deviceName: 'Device Name',
      deviceId: 'Device ID',
      coordinates: 'Coordinates',
      speed: 'Speed',
      locationType: 'Location Type',
      locationTime: 'Location Time',
      startPoint: 'Start Point',
      endPoint: 'End Point',
      pickupWarehouse: 'Pickup Warehouse',
      deliveryWarehouse: 'Delivery Warehouse',
      time: 'Time',
      altitude: 'Altitude',
      mileage: 'Mileage',
      noRouteData: 'No route data available, please select time range to query GPS track',
      selectTimeRange: 'Please select start time and end time',
      startTimeMustBeforeEnd: 'Start time must be before end time',
      getTrackSuccess: 'Successfully retrieved {count} track points',
      noTrackData: 'No track data in this time period',
      getCurrentLocationSuccess: 'Current location retrieved successfully',
      noCurrentLocationData: 'Device has no current location data',
      deviceTestSuccess: 'Device connection successful!',
      deviceTestResult: 'Device Test Result',
      plateNumber: 'Plate Number',
      onlineStatus: 'Online Status',
      currentSpeed: 'Current Speed',
      deviceType: 'Device Type',
      expireDate: 'Expire Date',
      online: 'Online',
      offline: 'Offline',
      position: 'Position'
    }
  },
  user: {
    username: 'Username',
    realName: 'Real Name',
    email: 'Email',
    role: 'Role',
    status: 'Status',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    roles: {
      admin: 'Administrator',
      user: 'Normal User'
    },
    statusOptions: {
      enabled: 'Enabled',
      disabled: 'Disabled'
    },
    newUser: 'New User',
    editUser: 'Edit User',
    deleteConfirm: 'Are you sure you want to disable this user?',
    disableSuccess: 'Disabled successfully',
    saveSuccess: 'Save successful',
    formRules: {
      usernameRequired: 'Please enter username',
      realNameRequired: 'Please enter real name',
      emailFormat: 'Please enter a valid email address',
      passwordRequired: 'Please enter password'
    }
  },
  apiConfig: {
    code: 'Code',
    apiUrl: 'API URL',
    apiUser: 'API User',
    apiPwd: 'API Password',
    apiKey: 'API Key',
    token: 'Token',
    remarks: 'Remarks',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    newApiConfig: 'New API Configuration',
    editApiConfig: 'Edit API Configuration',
    deleteConfirm: 'Are you sure you want to delete this API configuration?',
    deleteSuccess: 'Delete successful',
    saveSuccess: 'Save successful',
    formRules: {
      codeRequired: 'Please enter code',
      apiUrlRequired: 'Please enter API URL'
    }
  },
  sysConfig: {
    code: 'Config Code',
    value: 'Config Value',
    remarks: 'Remarks',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    newSysConfig: 'New System Config',
    editSysConfig: 'Edit System Config',
    deleteConfirm: 'Are you sure you want to delete this system config?',
    deleteSuccess: 'Delete successful',
    saveSuccess: 'Save successful',
    formRules: {
      codeRequired: 'Please enter config code',
      valueRequired: 'Please enter config value'
    }
  },
  errorPage: {
    notFound: 'Sorry, the page you visited does not exist',
    goHome: 'Back to home',
    goBack: 'Go back'
  },
  navbar: {
    logout: 'Logout',
    profile: 'Profile',
    logoutSuccess: 'Logout successful',
    language: {
      zh: '简体中文',
      en: 'English',
      changeSuccess: {
        zh: '语言已切换为简体中文',
        en: 'Language changed to English'
      }
    }
  },
  tags: {
    refresh: 'Refresh',
    close: 'Close',
    closeOthers: 'Close Others',
    closeAll: 'Close All'
  }
}
